Digital filter spectrum sensor

ABSTRACT

A spectrum sensing method includes (a) receiving an incident radiation simultaneously through a filter array composed of multiple bandpass filters, (b) digitizing spectral responses of the filter array, and (c) generating an estimate of spectral profile of the incident radiation based on digitized spectral responses of the filter array.

The present application claims benefit of U.S. provisional patent application 60/929,712, filed Jul. 10, 2007, which is incorporated herein by reference in its entirety.

BACKGROUND OF THE INVENTION

Optical spectroscopy technology has been widely used to detect and quantify the characteristics or concentration of a physical, chemical or biological target object. Optical diagnostics using this optical spectroscopy allows for the ability to obtain chemical and biological information without taking a physical specimen or the ability to obtain information in a non-destructive method with a physical specimen. The challenge is that the adoption of this technology has been limited due to the size of equipment and its cost. Therefore, its application was historically limited to centralized labs with scaled testing protocols. The opportunity now exists to develop a compact and low cost spectrometer. Among those previous efforts to miniaturize the spectrometer to expand the application of this optical spectroscopy into broader uses, the planar waveguide-based, grating-based, and Fabry-Perot-based techniques have been the major approaches. Recently there also have been efforts to miniaturize the spectrometer into chip scale using plasmonic nano-optic methods.

One of the issues encountered when trying to miniaturize the spectrometer is the resolution degradation. The resolution is usually dominated by the optics, especially by the distance from the input slit where the input light comes into the system to the detector array (or PDA, photo diode array). The shorter the distances, are the higher the resolution degradation. In case of non-dispersion methods or spectrum sensor using sets of filters, the number of the filters and shape or bandwidth (FWHM: Full Width Half Maximum) of each filter dominate the degradation. The more number of filters and the narrower FWHM provides the higher resolution.

SUMMARY OF THE INVENTION

The methods and the systems to enhance the resolution of the optical spectrometer or spectrum sensor, and its applications are disclosed. The spectral responses of the filter array of the spectrum sensor are digitized through sampling and quantization, and stored to form a matrix of filter function. The filter function matrix is used to get the estimates of the spectral profile of the input through the various estimate techniques with known input constraints and boundary conditions.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a schematic representation of spectrum sensor using digitized spectral responses of filter array;

FIGS. 2A, 2B and 2C show the perspective views of different types of plasmonic nano-optic filter devices;

FIG. 3 is a graphical representation of processing unit within the spectrum sensor;

FIG. 4 shows the conceptual diagram for the operation of the Least Square estimate, equalization, or matrices inversion, or Moore-Penrose pseudoinverse;

FIGS. 5A-5D and 6A-6B are plots of intensity (arbitrary units) versus wavelength.

FIG. 5A is an example of spectral profile of an input light;

FIG. 5B is an example of a spectral response of the broad bandwidth filter;

FIG. 5C shows the output result without the resolution enhancement operation;

FIG. 5D shows the output result with the resolution enhancement operation;

FIG. 6A shows spectral responses of 40 broad bandwidth and multipeak filter sets;

FIG. 6B shows the spectral responses of forty individual filters;

FIG. 7 shows the output results of three different LEDs (Red, Green and Blue) using the spectrum sensor through resolution enhancement operation using digitized spectral response data of filters.

FIG. 8A shows the schematic representation of the wireless spectrum sensor.

FIG. 8B shows a prospective representation of a wireless spectrum sensor around a target.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Unless otherwise specified, the words “a” or “an” as used herein mean “one or more”. The term “light” includes visible light as well as UV and IR radiation. The invention includes the following embodiments.

In FIG. 1, a digital filter spectrum sensor 100 is shown containing a set of filters 110, and a set or array of detectors 120 (such as a photo diode array or another suitable photodetector array), and signal processing unit 130. The filters may be made of dielectric or metallic materials, may be waveguide structures or grating structures or Fabry-Perot etalon structures or plasmonic filter structures. The examples of plasmonic filter structures are shown in FIGS. 2A, 2B, and 2C. In FIG. 2A, the plasmonic filter device 210 shows the metallic nanowire or island structure. In FIG. 2B, the plasmonic filter device 220 shows the metallic film with apertures or holes. Examples of such devices 210 and 220 are described for example in U.S. published application US 2006/0273245 A1, which is incorporated by reference in its entirety. In FIG. 2C, the plasmonic filter device 230 shows the metallic embossing structures on a metal film. Examples of such device 230 are described for example in U.S. provisional application Ser. No. 60/877,660 filed on Dec. 29, 2006, which is incorporated by reference in its entirety. The plurality of metal islands, multiple apertures in metal film or metal embossing array on a metal film are configured such that the incident light is resonant with at least one plasmon mode on the structures in said metal film or metal islands. A predetermined wavelength will perturb the metallic plasmonic structures in surface plasmon energy bands for the wavelength selective transmission of light. The filter device is located either on a dielectric substrate or in between two dielectric layers.

The spectral response 111 of each filter may show single peak as shown in FIG. 5B or multi-peaks as shown in FIGS. 6A and 6B. The spectral responses of individual filters can be measured at the time when the filters are fabricated or during the period when the filters are used. The measured spectral response data is digitalized through sampling in wavelength domain over the whole interest wavelength range and quantization. The sampling rate will be no less than the desired wavelength resolution. For example, if the desired resolution is 10 nm over the 400 nm range from 380 nm to 780 nm, the sampling rate will be no less than 40 times in such a way the spectral response of a filter is measured at 485 nm, 495 nm, 505 nm, . . . , and 775 nm, or more. Then the measured data is quantized to a digital data at a defined scale. For example, if the defined scale is 8-bit, the measured data is converted into 8-bit digital data. If the defined scale is 16-bit, the measured data is converted into 16-bit digital data. The digitalized filter data now will be stored in the processing unit 130, more specifically in the designated memory 331 of the processing unit.

In FIG. 3, a processing unit 300 of the digital filter spectrum sensor 100 is shown containing a communication unit 340, a processor 310 (such as any suitable logic chip or device, such as an ASIC or a computer logic portion), a memory 320 (such as any suitable volatile or non-volatile memory device or computer portion) for program run, and a designated memory 331 for digitalized filter data. The communication unit 340 can a serial or parallel connector or can be a wireless communication unit such as a Bluetooth or Wibree, Zigbee, Wireless USB, or Wi-Fi or the variations of those. The memory 331 is preferably a non-volatile memory. In the implementation, this processing unit may reside within the same spectrum sensor device 100 or may be a separate chip or computer connected to the spectrum sensor device 100. The processing operations may be conducted by software stored in computer or by hardware of the processor 310 depending on the desired configuration and if a computer or a chip is used as a processor.

In FIG. 1, the input light I_(input) 140 goes through the filter response f_(response) 111 and detector response d_(response) 121 to get an output matrix O_(output) 122 which is Nx1 array format. The detector response d_(response) 121 is typically identical to all the detectors across whole detector array. When digitalized, the filter response f_(response) 111 and detector response d_(response) 121 are multiplied to combine the spectral responses into a single spectral response matrix F such that F₁=(d₁×f₁₁, d₂×f₁₂ . . . d_(N)×f_(1N)), F₂=(d₁×f₂₁, d₂×f₂₂ . . . d_(N)×f_(2N)), and F_(N)=(d₁×f_(N1), d₂×f_(N2) . . . d_(N)×f_(NN)). The O_(output) now can be expressed as F×I_(input)+n=O_(output) where n is noise. When the noise n is negligible, the unknown input I_(input) can be calculated or estimated through the matrix inversion operation such as I _(input) _(—) _(estimate) =F ⁻¹ ×O _(output) or I _(input) _(—) _(estimate) =F ⁺ ×O _(output) where F⁺ is psudoinverse of F.

Since the pseudoinverse provides a least squares solution to a system of linear equations, preferably, pseudoinverse operation may be used for most estimates. In FIG. 4 shows how the set of digital filter information is used to get an estimate or to calculate the input level at each wavelength point. Preferably, M (number of estimate point for an input)=N (number of filters used) where either matrx inverse or psudoinverse may be used.

In mathematics, the pseudoinverse A⁺ of a matrix A is the unique matrix satisfying the following criteria:

1. AA⁺A=A;

2. A⁺AA⁺=A⁺ (A⁺ is a weak inverse for the multiplicative semigroup);

3. (AA⁺)*=AA⁺ (AA⁺ is Hermitian); and

4. (A⁺A)*=A⁺A (A⁺A is also Hermitian).

Here M* is the conjugate transpose of a matrix M. For matrices whose elements are real numbers instead of complex numbers, M*=M^(T).

An alternative way to define the pseudoinverse is via a limiting process:

$A^{+} = {{\lim\limits_{\delta\rightarrow 0}{\left( {{A^{*}A} + {\delta\; I}} \right)^{- 1}A^{*}}} = {\lim\limits_{\delta\rightarrow 0}{A^{*}\left( {{AA}^{*} + {\delta\; I}} \right)}^{- 1}}}$ These limits exist even if (AA*)⁻¹ and (A*A)⁻¹ do not exist.

a. Properties

-   -   Pseudoinversion is reversible. It is its own inverse: (A⁺)⁺=A.     -   The pseudoinverse of a zero matrix is its transpose.     -   Pseudoinversion commutes with transposition, conjugation, and         taking the conjugate transpose:         (A ^(T))⁺=(A)^(T),         Ā ⁺ =Ā ⁺ and         (A ^(*))⁺=(A ⁺)*.     -   The pseudoinverse of a scalar multiple of A is the reciprocal         multiple of A⁺:         (αA)⁺=α⁻¹ A ⁺ for α≠0.     -   If the pseudoinverse of A*A is already known, it may be used to         compute A⁺:         A ⁺=(A*A)⁺ A*.     -   Likewise, if (AA*)⁺ is already known:         A ⁺ =A*(AA*)⁺.

b. Special Cases

If the columns of A are linearly independent, then A*A is invertible. In this case, an explicit formula is: A ⁺=(A*A)⁻¹ A*.

It follows that A⁺ is a left inverse of A: A⁺A=I.

If the rows of A are linearly independent, then AA* is invertible. In this case, an explicit formula is: A ⁺ =A*(AA*)⁻¹.

It follows that A⁺ is a right inverse of A: AA⁺=I.

If both columns and rows are linearly independent (that is, for square nonsingular matrices), the pseudoinverse is just the inverse: A ⁺ =A ⁻¹.

If A and B are such that the product AB is defined and either A or B is unitary, then (AB)⁺=B⁺A⁺. If A and B are such that the product AB is defined, A is of full column rank, and B is of full row rank, then (AB)⁺=B⁺A⁺. The second case here does not cover the first; a unitary matrix must be of full rank, but otherwise there is no assumption made on the matrix it multiplies.

It is also possible to define a pseudoinverse for scalars and vectors. This amounts to treating these as matrices. The pseudoinverse of a scalar x is zero if x is zero and the reciprocal of x otherwise:

$x^{+} = \left\{ \begin{matrix} {0,} & {{{{if}\mspace{14mu} x} = 0};} \\ {x^{- 1},} & {{otherwise}.} \end{matrix} \right.$

The pseudoinverse of the null vector is the transposed null vector. The pseudoinverse of other vectors is the conjugate transposed vector divided by its squared magnitude:

$x^{+} = \left\{ \begin{matrix} {0^{T},} & {{{{if}\mspace{14mu} x} = 0};} \\ {\frac{x^{*}}{x^{*}x},} & {{otherwise}.} \end{matrix} \right.$

For a proof, simply check that these definitions meet the defining criteria for the pseudoinverse.

c. Finding the Pseudoinverse of a Matrix

Let k be the rank of a m×nmatrix A. Then A can be decomposed as A=BC, where B is a m×k-matrix and C is a k×nmatrix. Then A ⁺ =C*(CC*)⁻¹(B*B)⁻¹ B*.

If A has full row rank, so that k=m, then B can be chosen to be the identity matrix and the formula reduces to A⁺=A*(AA*)⁻¹. Similarly, if A has full column rank (that is, k=n), then A⁺=(A*A)⁻¹A*.

A computationally simpler way to get the pseudoinverse is using the singular value decomposition.

If A=UΣV* is the singular value decomposition of A, then A⁺=VΣ⁺U*. For a diagonal matrix such as Σ, we get the pseudoinverse by taking the reciprocal of each non-zero element on the diagonal.

Optimized approaches exist for calculating the pseudoinverse of block structured matrices.

If a pseudoinverse is already known for a given matrix, and the pseudoinverse is desired for a related matrix, the pseudoinverse for the related matrix can be computed using specialized algorithms that may need less work. In particular, if the related matrix differs from the original one by only a changed, added or deleted row or column, incremental algorithms exist that exploit the relationship.

d. Applications

The pseudoinverse provides a least squares solution to a system of linear equations. Given an overdetermined system with independent columns Ax=b, we look for a vector x that minimizes ∥Ax−b∥ ², where ∥•∥ denotes the Euclidean norm.

The general solution to an inhomogeneous system Ax=b is the sum of a particular solution of the inhomogeneous system and the general solution of the corresponding homogeneous system Ax=0.

Lemma: If (AA*)⁻¹ exists, then the solution x can always be written as the sum of the pseudoinverse solution of the inhomogeneous system and a solution of the homogeneous system: x=A*(AA*)⁻¹ b+(1−A*(AA*)⁻¹ A)y.

Proof:

$\begin{matrix} {{Ax} = {{{{AA}^{*}\left( {AA}^{*} \right)}^{- 1}b} + {Ay} - {{{AA}^{*}\left( {AA}^{*} \right)}^{- 1}{Ay}}}} \\ {= {b + {Ay} - {Ay}}} \\ {= {b.}} \end{matrix}$

Here, the vector y is arbitrary (apart from the dimensionality). In both summands, the pseudoinverse A*(AA*)⁻¹ appears. If we write it as A⁺, the equation looks like this: x=A ⁺ b+(1−A ⁺ A)y.

The first summand is the pseudoinverse solution. In the sense of the least squares error, it is the best linear approximation to the actual solution. This means that the correction summand has minimal euclidean norm. The second summand represents a solution of the homogeneous system Ax=0, because (1−A⁺A) is the projection on the kernel (null space) of A, while (A⁺A)=A*(AA*)⁻¹A is the projection onto the image (range) of A (the space spanned by the column vectors of A). The Moore Penrose pseudoinverse is described in more detail below.

As is usually the case in most signal processing system, however, there will be noises in this digital filter spectrum sensor system. The noise negatively impacts on estimating the input value, reducing the accuracy of the system. To remove or reduce the noise effects, simple spatial averaging or time averaging can be used. Spatial averaging uses the multiple identical sets of filters to receive the input at different physical locations on detector array. Time averaging uses multiple data reading through the same detector. The multiple outputs of the detectors can be averaged, or multiple of the input estimates through the matrices inversion can be averaged.

Further, when the noise n is not negligible as in most practical cases, the unknown input can be estimated through various Least Square estimate methods with various types of constraints, as summarized in the following references: Roman Z Morawski, REVIEW ARTICLE, Spectrophotometric applications of digital signal processing, Meas. Sci. Technol. 17 (2006) R117-R144, and Cheng-Chun Chang and Heung-No Lee, On the estimation of target spectrum for filter array based spectrometers, 21 Jan. 2008/Vol. 16, No. 2/OPTICS EXPRESS 1056, which are incorporated by reference in their entirety.

In the Chang et. al. reference the Least Square estimate operation is further explained in detail as following. The transformation between the target spectrum and the CCD-sensor outputs is associated by the matrix equation r=Hs+n,  (1) where the dimensionalities of r, H, s, and n are N×1, N×M, M×1, and N×1, respectively.

Suppose r is an observed signal vector. Working on the observation vector, an estimator provides an estimation ŝ of the input spectrum by considering all possible source signal-vectors s. One criterion which can be used as the starting point is the maximum a posteriori (MAP) rule. The MAP estimator is obtained by maximizing the posterior probability, i.e.,

$\begin{matrix} {{\hat{s}}_{MAP} = {\arg\;{\max\limits_{S}{{P\left( {s❘r} \right)}.}}}} & (2) \end{matrix}$

From the Bayes' rule, the posterior probability can be written as P(s|r)=P(r|s)P(s)/P(r). Therefore, there is no information on the source signal such that P(s) is uniformly-distributed, the MAP estimator can be simplified to the maximum likelihood (ML) estimator. The ML estimator maximizes the likelihood function, i.e.,

$\begin{matrix} {{\hat{s}}_{ML} = {\arg\;{\max\limits_{S}{{P\left( {r❘s} \right)}.}}}} & (3) \end{matrix}$

For the filter-array spectrometer, the observed signal vector, r, and the source signal vector, s, can be associated by Eq. (1) as discussed. Now assume the noise vector n is multivariate Gaussian with zero mean and covariance matrix R_(n), i.e., E[n]=0, and E[nn^(T)]=R_(n), where the superscript T denotes the transpose operation The ML estimator then is obtained by maximizing the likelihood function

$\begin{matrix} {{P\left( {r❘s} \right)} = {\frac{1}{\left( {2\;\pi} \right)^{N/2}{R_{n}}^{1/2}}{{\exp\left\lbrack {{- \frac{1}{2}}\left( {r - {Hs}} \right)^{T}{R_{n}^{- 1}\left( {r - {Hs}} \right)}} \right\rbrack}.}}} & (4) \end{matrix}$

To solve for the estimator, it is equivalent to find the vector s which minimizes −2r^(T)R_(n) ⁻¹Hs+s^(T)H^(T)R_(n) ⁻¹Hs. The solution can be found by solving the partial differential equation ∂(−2r^(T)R_(n) ⁻¹Hs+s^(T)H^(T)R_(n) ⁻¹Hs)/∂s=0. Providing that the matrix H^(T)R_(n) ⁻¹H is nonsingular (i.e., inverse exists), the solution of this is ŝ _(ML)=(H ^(T) R _(n) ⁻ H)⁻¹ H ^(T) R _(n) ⁻¹ r.  (5)

Furthermore, if there is no knowledge about the correlation of the Gaussian noise vector (or if the elements are mutually independent), it is reasonable to substitute the covariant matrix R_(n) by an identity matrix I. Thus the ML estimator, Eq. (5), is reduced to the least-squares (LS) estimator, i.e., ŝ _(LS)=(H ^(T) H)⁻¹ H ^(T) r.  (6)

It requires that the inverse of H^(T)H matrix exists. Recall that the dimensionality of H is N×M. For solution to exist, M needs to be less than or equal to N such that the M×M H^(T)H matrix is possibly full rank. That is, the number of filters used in the filter-array spectrometer needs to be greater than or equal to the number of resolved points in the wavelength-domain. For the most efficient and practical consideration, take M=N, i.e., H is a square matrix. Then the LS estimator can be reduced to ŝ _(inv)=(H ^(T) H)⁻¹ H ^(T) r=H ⁻¹ r.  (7)

It is worth to mention that, for zero-mean noise, the ŝ_(ML), ŝ_(LS), and ŝ_(inv) are unbiased, e.g., E[ŝ_(ML)]=(H^(T)R_(n) ⁻¹H)⁻¹H^(T)R_(n) ⁻¹Hs=s. Therefore, for a fixed unknown source signal vector s, one may have the received signal vector r measured multiple times over either the temporal or spatial domain. This unbiased property ensures the enhancement of estimation accuracy after averaging operation. The estimation-error covariance-matrix of the ML estimator, Eq. (5), can be calculated and expressed as E[(ŝ−s)(ŝ−s)^(T)]=(H^(T)R_(n) ⁻¹H)⁻¹. We note that it is a function of the filter matrix H. Thus, it can show how good an estimator can be for a particular filter array. Although the covariance matrix of system noise R_(n) is fixed, the variance of the estimation error can be amplified by the detector sensitivity matrix H. Of interest is the case that H is a square matrix. Conventionally, the singular value decomposition (SVD) is considered as a powerful technique to deal with the noise amplification issue. This method computes the inverse of the H matrix based on the singular value decomposition where an Eigen value less than a certain threshold can be discarded. By exploiting the non-negative nature of the spectral content, the non-negative constrained least-squares (NNLS) algorithm works particularly well to estimate the target spectral. NNLS can be seen as a member of the family of the least squares estimator. NNLS returns the vector ŝ that minimizes the norm ∥Hŝ−r∥₂ subject to ŝ>0. The original design of the algorithm was by C. L. Lawson, and R. J. Hanson. Although the NNLS algorithm solves the solution iteratively, the iteration always converges.

The input example shown in FIG. 5A is the spectral profile of a typical fluorescence lamp. When this input is read or measured by the set 40 of the broad bandwidth filters whose FWHM (Full Width Half Maximum) is about 60 nm as shown in FIG. 5B, the output spectral profile, shown as square dot line in FIG. 5C, through these 40 filters and detectors is not very close to the original input spectral profile. However, when the matrices inversion operation is executed, the input estimates, shown as square dot line in FIG. 5D now become much more closer to the original input spectral profile. FIG. 6A and FIG. 6B show another example of filter set with the broad bandwidth and multi-peaks used to detect the spectral profile of LEDs (Red, Green and Blue). As shown in FIG. 7, the digital filter spectrum sensor with these kind of broad bandwidth and multi-peaks can rebuild the spectral profile of three LEDs, quite closely to the original LEDs' spectral profile. Noticeably, the bandwidth of the filter used is close to 100 nm, but the digital filter spectrum sensor system reconstructs the input signals at higher resolution such as 10 nm. Also the known spectral information of the LEDs, input lights, can be utilized to estimate further closer to the original signals. This color measurement capability will find lots of useful application areas in color measurement or monitoring for flat panel display, printed materials, or even in bio applications. The measured spectral information can be mapped into color domain data in different format such as CIE systems, such as CIELUV or CIELAB or CIE 1931 or CIE 1976.

Because of its compact size and reasonable resolution, the digital spectrum sensor can be used in many applications where the small size is desired. Such applications may include mobile or wearable devices to monitor personal health, high resolution color monitoring for the color input, display and output devices, environmental monitoring sensors such as water or air quality sensors. For some of those applications, wireless solution may be more desirable. As shown in FIG. 8A and FIG. 8B, the wireless spectrum sensor has one or more embedded wireless units 702 mounted on a holder (such as a substrate or a band) along with spectrum sensor 704, one or more light sources 701, and a power unit 703, such as a battery unit or power generator. The holder may have embedded circuits connecting these embedded units. This wireless digital spectrum sensor may be located adjacent to or wrap around the target object, such as a human or animal body part or an inanimate object, or the container of the target object to be measured, or the passage or pipeline where the target objects (such as any suitable fluid) to be measured pass through. If the power unit 703 is a power generator, then this power generator may utilize wireless RF power to generate the electrical power and/or it may utilize the flow of said object, such as water or other fluid, to generate power.

Although the foregoing refers to particular preferred embodiments, it will be understood that the present invention is not so limited. It will occur to those of ordinary skill in the art that various modifications may be made to the disclosed embodiments and that such modifications are intended to be within the scope of the present invention.

All of the publications, patent applications and patents cited in this specification are incorporated herein by reference in their entirety, including the following references:

-   Roman Z Morawski, REVIEW ARTICLE, Spectrophotometric applications of     digital signal processing, Meas. Sci. Technol. 17 (2006) R117-R144; -   Ben Slima M, Morawski R Z and Barwicz A 1992, Spline-based     variational method with constraints for spectrophotometric data     correction IEEE Trans. Instrum. Meas. 41 786-90; -   Miekina A and Morawski R Z 1993 Incorporation of the positivity     constraint into a Tikhonov-method-based algorithm of measurand     reconstruction Proc. Int. IMEKO-TC1&TC7 Coll. (London, UK, 8-10     Sep. 1993) pp 299-04 R140 Review Article; -   Szczecinski L, Morawski R Z and Barwicz A 1994 Original-domain     Tikhonov regularisation and non-negativity constraint improve     resolution of spectrometric analysis Proc. 13th IMEKO World Congress     (Torino, 5-9 Sep. 1994) pp 441-6; -   Massicotte D, Morawski R Z and Barwicz A 1995 Incorporation of a     positivity constraint into a Kalman-filter-based algorithm for     correction of spectrometric data IEEE Trans. Instrum. Meas. 44 2-7; -   Ben Slima M, Morawski R Z and Barwicz A 1997 Kalman-filter-based     algorithms of spectrophotometric data correction: Part II. Use of     splines for approximation of spectra IEEE Trans. Instrum. Meas. 46     685-9; -   Massicotte D, Morawski R Z and Barwicz A 1997 Kalman-filter-based     algorithms of spectrophotometric data correction: Part I. An     iterative algorithm of deconvolution -   IEEE Trans. Instrum. Meas. 46 685-9; -   Szczecinski L, Morawski R Z and Barwicz A 1997 A cubic FIR-type     filter for numerical correction of spectrometric data IEEE Trans.     Instrum. Meas. 46 922-8; -   Szczecinski L, Morawski R Z and Barwicz A 1997 Numerical correction     of spectrometric data using a bilinear operator of measurand     reconstruction Instrum. Sci. Technol. 25 197-205; -   Szczecinski L, Morawski R Z and Barwicz A 1998 Variational     algorithms for spectrogram correction based on entropy-like     criteria J. Chemometr. 12/6 397-403; -   Szczecinski L, Morawski R Z and Barwicz A 1998 Numerical correction     of spectrometric data using a rational filter J. Chemometr. 12/6     379-95; -   Wisniewski M P, Morawski R Z and Barwicz A 2003 An adaptive rational     filter for interpretation of spectrometric data IEEE Trans. Instrum.     Meas. 52 966-72; -   Sprzeczak P and Morawski R Z 2000 Calibration of a spectrometer     using a genetic algorithm IEEE Trans. Instrum. Meas. 49 449-54; -   Sprzeczak P and Morawski R Z 2001 Cauchy-filter-based algorithms for     reconstruction of absorption spectra IEEE Trans. Instrum. Meas. 50     1123-6; -   Sprzeczak P and Morawski R Z 2002 Cauchy filters versus neural     networks when applied for reconstruction of absorption spectra IEEE     Trans. Instrum. Meas. 51 815-8; -   Cheng-Chun Chang and Heung-No Lee, On the estimation of target     spectrum for filter array based spectrometers, 21 Jan. 2008/Vol. 16,     No. 2/OPTICS EXPRESS 1056; -   B. Stuart, Modern IR Spectroscopy. New York: Wiley, 1996; -   M. Born and E. Wolf, Principles of Optics, 5th ed. New York:     Pergamon, 1975; -   B. Saleh and M. C. Teich, Fundamentals of Photonics. New York:     Wiley, 1991; -   D. Rossberg, “Silicon micromachined infrared sensor with tunable     wavelength selectivity for application in infrared spectroscopy,”     Sens. Actuators A, vol. 46-47, pp. 413-416, 1995; -   G. Minas, J. S. Martins, C. Pereira, C. Lima, R. F. Wolffenbuttel,     and J. H. Correia, “Lab-on-a-chip for measuring uric acid in     biological fluids,” in Proc. Eurosensors XVI, Prague, Czech     Republic, Sep. 15-18, 2002, pp. 66-69; -   R. F. Wolffenbuttel, “Silicon photodetectors with a selective     spectral response,” in Sensors Update, H. Baltes, J. Hesse, and J.     Korvink, Eds. Berlin, Germany: Wiley-VCH, 2001, vol. 9, pp. 69-101; -   R. F. Wolffenbuttel, “Silicon photodetectors with a selective     spectral response,” in Sensors Update, H. Baltes, J. Hesse, and J.     Korvink, Eds. Berlin, Germany: Wiley-VCH, 2001, vol. 9, pp. 69-101; -   J. W. Holm-Kennedy, K. W. Tsang, W. W. Sze, F. Jiang, and D. Yang,     “A novel monolithic chip-integrated color spectrometer: The     distributed wavelength filter component,” Proc. SPIE, vol. 1527, pp.     322-331, 1991; -   “High-selectivity single-chip spectrometer in silicon for operation     in the visible part of the spectrum,” IEEE Trans. Electron Devices,     vol. 47, pp. 553-559, March 2000; -   J. H. Correia, G. de Graaf, S.-H. Kong, M. Bartek, and R. F.     Wolffenbuttel, “Single-chip CMOS optical micro-interferometer,”     Sens. Actuators A, vol. 82, pp. 191-197, 2000; -   Reinoud F. Wolffenbuttel, “State-of-the-Art in Integrated Optical     Microspectrometers,” IEEE TRANSACTIONS ON INSTRUMENTATION AND     MEASUREMENT, VOL. 53, NO. 1, FEBRUARY 2004; -   Sameer Bhalotra, “Adaptive Optical Microspectrometers &     Spectra-Selective Sensing,” Dept. of Applied Physics, Stanford     University, Apr. 30, 2004; -   R. F. Wolffenbuttel, “MEMS-based optical mini- and     microspectrometers for the visible and infrared spectral range,” J.     of Micromechanics and Microengineering, 15 (2005) S145-S152; -   S. H. Kong, D. D. L. Wijngaards, R. F. Wolffenbuttel, “Infrared     micro-spectrometer based on a diffraction grating,” Sens. Act. A 92,     88-95 (2001); -   Wallrabe U, Mohr J and Solf C 2004 Mini-FT spectrometer for the     near-infrared Proc Eurosensors XVIII (Rome, Italy, 12-15 Sep. 2004)     pp 160-1; -   Correia J H, de Graaf G, Kong S-H, Bartek M and Wolffenbuttel R F     2000 Single-chip CMOS optical micro-interferometer Sensors Actuators     A 82 191-7; -   Hank Hogan, “Low-Cost Spectrometer Incorporates Spherical Beam     Volume Hologram Replacing grating offers economic benefits without     sacrificing resolution,” Photonics Spectra, Technology World| April     2006; -   G. Minas et al., Sensors and Actuators A 115 (2004) 362-367; -   Reinoud F. Wolffenbuttel et al/, Optics Express, Mar. 19, 2007, pp.     3581-3588; -   Kalyani Chaganti et al/, 1 May 2006/Vol. 14, No. 9/OPTICS EXPRESS     4068; -   Zhijun Sun, Yun Suk Jung, and Hong Koo Kim, “Dynamic evolution of     surface plasmon resonances in metallic nanoslit arrays,” APPLIED     PHYSICS LETTERS 86, 023111 (2005); -   Hong Koo Kim et al, Published PCT Patent Application,     PCT/US2004/023499, (International filing date: Jul. 22, 2004,     Priority date: Aug. 6, 2003) and its U.S. counterpart published     application US 2006/0273245 A1; -   Ben-Israel, Adi; Thomas N. E. Greville (2003) Generalized Inverses.     Springer-Verlag. ISBN 0-387-00293-6; -   Moore, E. H. (1920). “On the reciprocal of the general algebraic     matrix.” Bulletin of the American Mathematical Society 26: 394-395; -   Penrose, Roger (1955). “A generalized inverse for matrices”.     Proceedings of the Cambridge Philosophical Society 51: 406-413; -   Golub, Gene H.; Charles F. Van Loan (1996). Matrix computations,     3^(rd) edition, Baltimore: Johns Hopkins. ISBN 0-8018-5414-8; -   Penrose, Roger (1956). “On best approximate solution of linear     matrix equations”. Proceedings of the Cambridge Philosophical     Society 52: 17-19; -   Shahid U. H. Qureshi, “Adaptive Equalization” PROCEEDINGS OF THE     IEEE, VOL. 73. NO. 9, SEPTEMBER 1985; -   Monson H. Hayes Statistical Digital Signal Processing and Modeling,     Wiley, 1996, ISBN 0-471-59431-8; -   Simon Haykin Adaptive Filter Theory, Prentice Hall, 2002, ISBN     0-13-048434-2; -   C. P. Bacon, Y. Mattley, and R. Defrece, “Miniature spectroscopic     instrumentation: applications to biology and chemistry,” Review of     Scientific Instruments 75, 1-16 (2004). -   D. C. Heinz, and C.-I Chang, “Fully constrained least-squares linear     spectral mixture analysis method for material quantification in     hyperspectral imagery,” IEEE Trans. on Geoscience and Remote Sensing     39, 529-546 (2001); -   J. H. Correia, G. Graaf, M. Bartek, and R. F. Wolffenbuttel, “A     single-chip CMOS potical microspectrometer with light-to-frequency     converter and bus interface,” IEEE Journal of Solid-State Circuits     37, 1344-1347 (2002); -   K. Chaganti, I. Salakhutdinov, I. Avrutsky, G. W. Auner, “A simple     miniature optical spectrometer with a planar waveguide grating     coupler in combination with a plano-convex leng,” Optics Express 14,     4064-4072 (2006); -   R. F. Wolffenbuttel, “State-of-the-art in integrated optical     microspectrometers,” IEEE Trans. on Instrumentation and Measurement     53, 197-202 (2004); -   R. Shogenji, Y. Kitamura, K. Yamada, S. Miyatake, and J. Tanida,     “Multispectral imaging using compact compound optics,” Optics     Express 12, 1643-1655 (2004); -   S.-W. Wang, C. Xia, X. Cheng, W. Lu, L. Wang, Y. Wu, and Z. Wang,     “Integrated optical filter arrays fabricated by using the     combinatorial etching technique,” Optics Letters 31, 332-334 (2006); -   S.-W. Wang, C. Xia, X. Cheng, W. Lu, M. Li, H. Wang, W. Zheng,     and T. Zhang, “Concept of a high-resolution miniature spectrometer     using an integrated filter array,” Optics Letters 32, 632-634     (2007); -   C. L. Lawson and R. J. Hanson, Solving Least Squares Problems,     Prentice-Hall, 1974; -   J. G. Proakis, Digital Communications, McGraw Hill, 2000; -   Yoshi Ohno, CIE Fundamentals for Color Measurements, IS&T NIP16     Conference, Vancouver, Canada, Oct. 16-20, 2000.     Moore Penrose Pseudoinverse

The Moore Penrose Pseudoinverse is the generalization of the inverse of an m×n matrix. It is commonly used to compute a ‘best fit’ (least squares) solution to a system of linear equations. In a solution, it is used to compute the original signals from the filtered version of the data.

One can find the Pseudoinverse, A+ of a matrix A as follows, A+=(A*A)^(−1)A* Where A* is the transpose of the matrix and ^(−1) means to find the regular inverse.

If ‘O’ is the original signal data, and ‘F’ is non-square matrix representing the filter data, and ‘A’ is the data received from the sensors, O=(F+)A 

1. A spectrum sensor, comprising: a photodetector array; an array of optical filters; a memory having sampled, quantized and stored in digital format thereon spectral response data of individual filters in the array of optical filters; and a processing unit, and wherein the spectrum sensor has stored thereon processor-executable instructions configured to cause the processing unit to generate an estimated spectral profile of input light based on: an output spectral profile generated by the array of optical filters and the photodetector array in response to the input light; and the spectral response data stored in memory.
 2. The spectrum sensor set forth in claim 1, wherein the optical filter array comprises a plasmonic optical filter array comprising a plurality of metal islands, or multiple apertures in a metal film or a metal embossing array.
 3. The spectrum sensor set forth in claim 2, wherein: the optical filter array is located either on a dielectric substrate or in between two dielectric layers; and said plurality of metal islands, multiple apertures in metal film or metal embossing array on a metal film are configured such that the incident light is resonant with at least one plasmon mode on the structures in said metal film or metal islands; and a predetermined wavelength will perturb the metallic plasmonic structures in surface plasmon energy bands to assist the wavelength selective transmission of light.
 4. The spectrum sensor set forth in claim 1, wherein the optical filter array comprises a dielectric film, metal film, waveguide structures, grating structures, or Fabry-Perot etalon structures.
 5. The spectrum sensor set forth in claim 1, wherein: each filter of the array of optical filters is optically coupled to a photodetector or group of photodetectors of said photodetector array; and the spectral responses of different filters are independent with different peaks and dips, and distributed over entire target spectrum ranges with variable spectral responsivity, and partially overlapped with multiple of neighboring filters in the array.
 6. The spectrum sensor set forth in claim 1, wherein the spectral response data is stored in memory as fixed data or modified when the spectral response of each filter changes.
 7. The spectrum sensor set forth in claim 1, wherein the processor-executable instructions are further configured to cause the processing unit to generate an estimated spectral profile of input light based on a Least Square estimate process or matrices inversion or equalization process or Moore-Penrose pseudoinverse using the spectral response data.
 8. The spectrum sensor set forth in claim 7, wherein: spatial or time averaging processes are used to improve a signal-to-noise ratio; the spatial averaging comprises averaging the outputs of repeating identical filters over an area before or after the Least Square estimate or matrices inversion or equalization process or Moore-Penrose pseudoinverse, and the time averaging process comprises reading the output of a photodetector repeatedly by shutter operation of a photodetector, and averaging the outputs before or after the Least Square estimate or matrices inversion or equalization process or Moore-Penrose pseudoinverse.
 9. The spectrum sensor set forth in claim 7, wherein a transmittance level of each filter is controlled by the area of a photodetector or by a number of repeated identical filters, or by shutter operation of a photodetector.
 10. The spectrum sensor set forth in claim 7, wherein: known input constraints are used to process a Least Square estimate, matrices inversion, equalization process or Moore-Penrose pseudoinverse, and wherein the known input constraints comprise positivity of the input signals, known spectral information of light sources used, or boundary conditions of input signals.
 11. The spectrum sensor set forth in claim 1, wherein the processor-executable instructions are further configured such that the spectral response data is mapped or transformed into CIE color space data.
 12. The spectrum sensor set forth in claim 11, wherein a database of pre-tested or pre-measured relationship between pre-tested or pre-measured spectral data and the CIE color space data is stored to be used to map or transform the spectral response data into the CIE color space data.
 13. A wireless spectrum sensor, comprising: at least one spectrum sensor comprising: a photodetector array; an array of optical filters; a memory having sampled, quantized and stored in digital format thereon spectral response data of individual filters in the array of optical filters; and a processing unit, and; wherein the spectrum sensor has stored thereon processor-executable instructions configured to cause the processing unit to generate an estimated spectral profile of input light based on: an output spectral profile generated by the array of optical filters and the photodetector array in response to the input light; and the spectral response data stored in memory; at least one light source; a wireless communication unit; a power unit; and a holder; wherein: the wireless communication unit is adapted to send and receive measured spectral data or control data wirelessly to and from an external device; the holder connects said spectrum sensor, said light source, and said wireless communication unit, and said power unit electronically; the light source unit and spectrum sensor are adapted to send and receive or detect lights using transmission or reflection.
 14. The wireless spectrum sensor set forth in claim 13, wherein said holder is adapted to wrap around a target object, or a container of the target object to be measured, or a passage or pipeline where the target object to be measured passes through.
 15. The wireless spectrum sensor set forth in claim 14, wherein the said holder, spectrum sensor, light source, wireless unit, and power unit are embedded in the container or the pipe or the passage.
 16. The wireless spectrum sensor set forth in claim 14, wherein said power unit comprises a battery or a power generator.
 17. The wireless spectrum sensor set forth in claim 16, wherein the power generator utilizes wireless RF power to generate the electrical power or utilizes the flow of said target object. 